package cn.iocoder.yudao.module.trade.controller.admin.orderpostback.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单回传分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderPostBackPageReqVO extends PageParam {

    @Schema(description = "订单id", example = "13479")
    private Long orderId;

    @Schema(description = "订单类型（1-支付；2-退款）", example = "1")
    private Integer orderType;

    @Schema(description = "第三方id", example = "26588")
    private String thirdId;

    @Schema(description = "第三方类型", example = "2")
    private Integer thirdType;

    @Schema(description = "支付金额（总），单位：分", example = "20021")
    private Integer payPrice;

    @Schema(description = "回传金额（总），单位：分", example = "30907")
    private Integer postPrice;

    @Schema(description = "状态(-1：失败；0：待回传；1-已完成；2-扣量)", example = "1")
    private Integer status;

    @Schema(description = "回传时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] postTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}